package person.learn.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import person.learn.entity.User;

/**
 * Created by barton on 16-2-3.
 */
public interface UserRepository extends JpaRepository<User, String>, JpaSpecificationExecutor {

    User findByUserName(String userName);
}
